CKEDITOR.editorConfig = function (config) {

    config.toolbar = [
     ['Maximize', '-', 'Save', 'NewPage', 'Print', 'Preview', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ],
     ['Table', 'HorizontalRule', 'SpecialChar', 'Image', 'PageBreak' ],
     [ 'Styles', 'Format', 'Font', 'FontSize' ],
     '/',
     [ 'Bold', 'Italic', 'Underline', 'Strike', '-', 'Subscript', 'Superscript'],
     [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl' ],
     [ 'TextColor', 'BGColor' ],
     [ 'SelectAll', '-', 'Find', 'Replace', 'Source']
     ];

    config.skin = 'office2003';
    config.language = 'ro';
    config.enterMode = CKEDITOR.ENTER_BR;
    config.shiftEnterMode = CKEDITOR.ENTER_P;
    config.scayt_autoStartup = false;
    config.bodyClass = 'ckEditor_style';
    config.keystrokes = [];

    //config.newpage_html = header_template.first_header_div + header_template.second_header_div;
    /*config.resize_dir = 'vertical';*/
    config.resize_minHeight = 500;
    config.undoStackSize = 30;
};
